/**出的牌 */
var BasePkCardCtr = require('./BasePkCardCtr');
cc.Class({
    extends: BasePkCardCtr,
    properties: {
        iconBg: {
            default: null,
            type: cc.Sprite,
            displayName: '背景'
        }
    },
    /***通过卡牌ID刷新牌UI信息 */
    refreshUIByCardId(cardId) {
        this.iconCard.node.active = true;
        this.iconTypeSmall.node.active = true;
        this.iconTypeBig.node.active = true;

        this._super(cardId);
        var spriteFrame = this.spriteAtlasCard.getSpriteFrame('card');
        this.iconBg.spriteFrame = spriteFrame;
    },
})